package com.szakul.pdf.model;

import java.util.List;

import com.szakul.pdf.viewer.dao.beans.Leaf;
import com.szakul.pdf.viewer.dao.beans.Node;

public interface TreeModelDao {

	List<Node> getAllNodes();
	
	List<Leaf> getNodeLeafs(Node node);
	
	void updateLeaf(Leaf leaf);
	
	void updateNode(Node node);
	
	void createNode(Node node);
	
	void createLeaf(Leaf leaf);
	
	void deleteNode(Node node);
	
	void deleteLeaf(Leaf leaf);
	
}
